{% load markup %}
{% load humanize %}
<div class="title">
	<a href="{{ post.get_absolute_url }}">{{ post.title }}</a>
</div>
<div class="body">
	{{ post.content_html|safe }}
</div>
<div class="meta">
	posted {{ post.published|naturalday:"F dS Y" }}
	{% if post.author %}
		by <a href="{{ post.author.get_absolute_url }}">{{ post.author.name }}</a>
	{% endif %}
	{% for category in post.categories.all %}
		{% if forloop.first %}in {% endif %}
		<a href="{{ category.get_absolute_url }}">{{ category.title }}</a>{% if not forloop.last %},{% endif %}
	{% endfor %}
</div>